/** ***********************************************************************
*  $Id: $
*
*  COPYRIGHT @2008 CSS CORP PVT LTD
*          
*  This program is free software; you can redistribute it and/or modify it under the terms of 
*  version 2 of the GNU General Public License as published by the Free Software 
*  Foundation.
*
*  The above copyright notice and this permission notice shall be included in all copies 
*  or substantial portions of the Software.
*
*  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
*  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
*  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
*  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
*  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
*  DEALINGS IN THE SOFTWARE.
*
************************************************************************* */

package com.css.ctg.tulip.info;

import java.io.Serializable;

/** 
 * <p>	This object provides broker information to the framework. The URL string to be
 * 		validated and the name of the service to be invoked is set by the setter methods.
 *
 * @version $Rev:
 * 			$
 */

public class TulipBrokerInfo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String serviceName=null;	
	private String url=null;
		
	/**
	 * <p>	Used to get the serviceName to be verified(found in service list of tulip-config.xml).
	 * 
	 * @return String
	 */
	public String getServiceName() {
		return serviceName;
	}
	
	/**
	 * <p>	Used to set the serviceName to be verified(found in service list of tulip-config.xml).
	 * 
	 * @param serviceName
	 * 
	 */
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	
	/**
	 * <p>	Used to get the url of the web site to be verified.
	 * 
	 * @return String
	 */
	public String getUrl() {
		return url;
	}
	
	/**
	 * <p>	Used to get the url of the web site to be verified.
	 * 
	 * @param url
	 * 
	 */
	public void setUrl(String url) {
		this.url = url;
	}	
}
